﻿/// <reference path="General.js" />
/// <reference path="Browser.js" />
/// <reference path="Strings.js" />

var ____a;

if (____a)
{
	function Element()
	{
	}
}
//debugger;

Element.prototype.get_ChildNodes = function get_ChildNodes()
{
	return this.childNodes;
	return new Array();
}
Element.prototype.get_ParentNode = function get_ParentNode()
{
	return this.parentNode;
}





function $(id)
{
	if (typeof (id) == "string")
		return document.getElementById(id);
	return id;
}
if (typeof (Events) != "undefined" && typeof (Events._AddEventObject) != "undefined")
{
	Element.prototype.AddEvent = window.AddEvent = document.AddEvent = Events._AddEventObject;
	Element.prototype.RemoveEvent = window.RemoveEvent = document.RemoveEvent = Events._RemoveEventObject;
}
